<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<{include file='backend/lib/meta.html'}>
<link rel="stylesheet" type="text/css" href="public/theme/backend/css/verydows.css" />
<link rel="stylesheet" type="text/css" href="public/theme/backend/css/main.css" />
<script type="text/javascript" src="public/script/jquery.js"></script>
<script type="text/javascript" src="public/theme/backend/js/verydows.js"></script>
<script type="text/javascript" src="public/theme/backend/js/list.js"></script>
</head>
<body>
<div class="content">
  <div class="loc"><h2><i class="icon"></i>帮助列表</h2></div>
  <div class="box">
    <div class="doacts">
      <a class="ae add btn" href="<{url m=$MOD c='help' a='add'}>"><i></i><font>添加帮助</font></a>
      <a class="ae btn" onclick="doslvent('<{url m=$MOD c='help' a='edit'}>')"><i class="edit"></i><font>编辑</font></a>
      <a class="ae btn" onclick="domulent('<{url m=$MOD c='help' a='delete'}>')"><i class="remove"></i><font>删除</font></a>
    </div>
    <{if !empty($results)}>
    <div class="module mt5">
      <form method="post" id="mulentform">
        <table class="datalist">
          <tr>
            <th width="50" colspan="2">编号</th>
            <th class="ta-l">标题</th>
            <th width="150">分类</th>
            <th width="120">排序</th>
          </tr>
          <{foreach $results as $v}>
          <tr>
            <td width="20"><input name="id[]" type="checkbox" value="<{$v.id}>" /></td>
            <td width="30"><{$v.id}></td>
            <td class="ta-l"><a class="blue" href="<{url m=$MOD c='help' a='edit' id=$v.id}>"><{$v.title}></a></td>
            <{if $v.cate_id == 0 || empty($cate_list[$v.cate_id])}>
            <td class="c999">未分类</td>
            <{else}>
            <td><{$cate_list[$v.cate_id]['cate_name']}></td>
            <{/if}>
            <td><{$v.seq}></td>
          </tr>
          <{/foreach}>
        </table>
      </form>
    </div>
    <{if !empty($paging)}>
    <div class="bom mt5"><{html_paging paging=$paging m=$MOD c='help' a='index' class='paging'}></div>
    <{/if}>
    <{else}>
    <div class="nors mt5">暂无数据记录...</div>
    <{/if}>
  </div>
</div>
</body>
</html>